<Window x:Class="WpfChartDemo.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:WpfChartDemo" xmlns:echart="clr-namespace:HeBianGu.WPF.EChart;assembly=HeBianGu.General.WpfChart"xmlns:wpfapp10="clr-namespace:WpfApp10" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:pi="http://schemas.microsoft.com/prototyping/2010/interactivity" mc:Ignorable="d" Title="MainWindow" Height="500" Width="1200"> <Window.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="pack://application:,,,/HeBianGu.General.WpfChart;component/Generic.xaml" /> </ResourceDictionary.MergedDictionaries> <SolidColorBrush Color="Green" x:Key="split_backcolor"/> <SolidColorBrush Color="#1791E6" x:Key="split_backcolor1"/> <SolidColorBrush Color="#18C800" x:Key="split_backcolor2"/> <SolidColorBrush Color="#FF0000" x:Key="split_backcolor3"/> <SolidColorBrush Color="#F8DE00" x:Key="split_backcolor4"/> </ResourceDictionary> </Window.Resources> <Grid> <TabControl> <TabItem Header="心电图(待定)"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="188*"/> <RowDefinition Height="20"/> <RowDefinition Height="20"/> <RowDefinition Height="20"/> <RowDefinition Height="20"/> <RowDefinition Height="20"/> <RowDefinition Height="20"/> </Grid.RowDefinitions> <Viewbox> <Grid x:Name="grid_all"> <Grid.RowDefinitions> <RowDefinition/> <!--<RowDefinition Height="10"/>--> </Grid.RowDefinitions> <echart:CardiogramCurveChartPlotter Style="{StaticResource CardiogramPlotterStyle}" IsShowCursorLine="False" DataSource="{Binding CardiogramCollection}" DataSourceChangeBegionStory="False"MaxValueY="50" MinValueY="0" MaxValueX="150" MinValueX="0" Height="210" Width="630"> <echart:CardiogramCurveChartPlotter.SplitItemYs> <echart:SplitItem Color="Red" Value="50" Text="2448 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="49" Text="2148 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="48" Text="2148 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="47" Text="2148 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="46" Text="2148 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="45" Text="2298 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="44" Text="2148 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="43" Text="2148 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="42" Text="2148 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="41" Text="2148 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="40" Text="2148 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="39" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="38" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="37" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="36" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="35" Text="1998 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="34" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="33" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="32" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="31" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="30" Text="1848 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="29" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="28" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="27" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="26" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="25" Text="1848 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="24" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="23" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="22" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="21" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="20" Text="1848 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="19" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="18" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="17" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="16" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="15" Text="1848 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="14" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="13" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="12" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="11" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="10" Text="1848 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="9" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="8" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="7" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="6" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="5" Text="1848 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="4" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="3" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="2" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="1" Text="1968 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="0" Text="1848 " SpliteType="InnerOnly"></echart:SplitItem> </echart:CardiogramCurveChartPlotter.SplitItemYs> <echart:CardiogramCurveChartPlotter.SlpitItemXs> <echart:SplitItem Color="Red" Value="150" Text="8 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="149" Text="7 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="148" Text="6 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="147" Text="5 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="146" Text="4 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="145" Text="3 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="144" Text="2 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="143" Text="1 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="142" Text="0 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="141" Text="9 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="140" Text="8 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="139" Text="7 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="138" Text="6 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="137" Text="5 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="136" Text="4 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="135" Text="3 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="134" Text="2 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="133" Text="1 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="132" Text="0 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="131" Text="10 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="130" Text="9 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="129" Text="8 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="128" Text="7 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="127" Text="6 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="126" Text="5 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="125" Text="4 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="124" Text="3 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="123" Text="2 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="122" Text="1 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="121" Text="0 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="120" Text="9 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="119" Text="8 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="118" Text="7 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="117" Text="6 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="116" Text="5 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="115" Text="4 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="114" Text="3 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="113" Text="2 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="112" Text="1 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="111" Text="0 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="110" Text="10 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="109" Text="9 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="108" Text="8 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="107" Text="7 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="106" Text="6 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="105" Text="5 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="104" Text="4 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="103" Text="3 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="102" Text="2 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="101" Text="1 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="100" Text="5 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="99" Text="4 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="98" Text="3 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="97" Text="2 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="96" Text="1 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="95" Text="0 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="94" Text="10 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="93" Text="9 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="92" Text="8 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="91" Text="7 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="90" Text="6 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="89" Text="5 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="88" Text="4 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="87" Text="3 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="86" Text="2 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="85" Text="1 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="84" Text="0 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="83" Text="9 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="82" Text="8 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="81" Text="7 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="80" Text="6 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="79" Text="5 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="78" Text="4 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="77" Text="3 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="76" Text="2 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="75" Text="1 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="74" Text="0 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="73" Text="10 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="72" Text="9 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="71" Text="8 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="70" Text="7 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="69" Text="6 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="68" Text="5 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="67" Text="4 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="66" Text="3 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="65" Text="2 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="64" Text="1 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="63" Text="0 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="62" Text="9 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="61" Text="8 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="60" Text="7 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="59" Text="6 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="58" Text="5 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="57" Text="4 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="56" Text="3 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="55" Text="2 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="54" Text="1 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="53" Text="0 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="52" Text="10 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="51" Text="9 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="50" Text="8 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="49" Text="7 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="48" Text="6 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="47" Text="5 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="46" Text="4 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="45" Text="3 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="44" Text="2 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="43" Text="1 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="42" Text="0 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="41" Text="9 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="40" Text="8 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="39" Text="7 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="38" Text="6 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="37" Text="5 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="36" Text="4 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="35" Text="3 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="34" Text="2 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="33" Text="1 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="32" Text="0 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="31" Text="10 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="30" Text="9 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="29" Text="8 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="28" Text="7 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="27" Text="6 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="26" Text="5 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="25" Text="4 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="24" Text="3 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="23" Text="2 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="22" Text="1 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="21" Text="0 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="20" Text="9 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="19" Text="8 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="18" Text="7 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="17" Text="6 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="16" Text="5 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="15" Text="4 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="14" Text="3 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="13" Text="2 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="12" Text="1 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="11" Text="0 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="10" Text="10 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="9" Text="9 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="8" Text="8 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="7" Text="7 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="6" Text="6 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="5" Text="5 " SpliteType="InnerOnly"></echart:SplitItem> <echart:SplitItem Color="Red" Value="4" Text="4 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="3" Text="3 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="2" Text="2 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="1" Text="1 " SpliteType="InnerOnly" LineStyle="{StaticResource CardiogramDashCapline}"></echart:SplitItem> <echart:SplitItem Color="Red" Value="0" Text="0 " SpliteType="InnerOnly"></echart:SplitItem> </echart:CardiogramCurveChartPlotter.SlpitItemXs> </echart:CardiogramCurveChartPlotter> <!--<Viewbox Grid.Row="1" > <multislidersample:MultiSlider RangeItems="{Binding Items}" ThumbExs="{Binding ThumbExs,Mode=OneWayToSource}" MaxWidthValue="{Binding MaxWidthValue}" /> </Viewbox>--> <!--<wpfapp10:SpaceSpliterUserControl Grid.Row="1" LeftPercent="{Binding Left,Mode=TwoWay}" RightPercent="{Binding Right,Mode=TwoWay}"> <i:Interaction.Triggers> <i:EventTrigger EventName="ValueChanged"> <i:InvokeCommandAction Command="{Binding RelayCommand}" CommandParameter="ValueChanged"/> </i:EventTrigger> </i:Interaction.Triggers> </wpfapp10:SpaceSpliterUserControl>--> </Grid> </Viewbox> <StackPanel Orientation="Horizontal" Grid.Row="1"> <TextBlock Text="刷新时间:" FontSize="15"/> <TextBox Text="{Binding RefreshTime}" FontSize="15" Width="200"/> </StackPanel> <StackPanel Orientation="Horizontal" Grid.Row="2"> <TextBlock Text="每次更新数量:" FontSize="15"/> <TextBox Text="{Binding RefreshCount}" FontSize="15" Width="200"/> </StackPanel> <StackPanel Orientation="Horizontal" Grid.Row="3"> <TextBlock Text="显示个数数量:" FontSize="15"/> <TextBox Text="{Binding ShowCount}" FontSize="15" Width="200"/> </StackPanel> <Button Content="开始播放" x:Name="btn_start" Grid.Row="4" Click="Button_Click_2"/> <Button Content="停止播放" x:Name="btn_stop" Grid.Row="5" Click="btn_stop_Click"/> <Button Content="打印" x:Name="btn_print" Grid.Row="6" Click="btn_print_Click"/> </Grid> </TabItem> <TabItem Header="曲线视图"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="430*"/> <RowDefinition Height="39*"/> <RowDefinition Height="39*"/> </Grid.RowDefinitions> <Button Content="清理数据" Click="Button_Click" Grid.Row="1"/> <Button Content="显示数据" Click="Button_Click_1" Grid.Row="2"/> <Viewbox> <echart:StaticCurveChartPlotter x:Name="chart" Background="White" DataSource="{Binding Collection}" FontSize="12" MaxValueY="400" MinValueY="0" MaxValueX="{Binding MaxValue}" MinValueX="{Binding MinValue}" IsLegendVisible="True" Height="200" Width="800"> <!--MaxValueX="11" MinValueX="0"--> <echart:StaticCurveChartPlotter.SplitItemYs> <echart:SplitItem Color="DarkGray" Value="400" Text="400 " ></echart:SplitItem> <echart:SplitItem Color="DarkGray" Value="350" Text="350 " ></echart:SplitItem> <echart:SplitItem Color="DarkGray" Value="300" Text="300 "></echart:SplitItem> <echart:SplitItem Color="DarkGray" Value="250" Text="250"></echart:SplitItem> <echart:SplitItem Color="Red" Value="240" Text="240" SpliteType="HeighLight" Group="身高" IsShowTrangle="false"/> <echart:SplitItem Color="DarkGray" Value="200" Text="200"></echart:SplitItem> <echart:SplitItem Color="Green" Value="150" Text="150" SpliteType="HeighLight" Group="体重" IsShowTrangle="false"></echart:SplitItem> <echart:SplitItem Color="Red" Value="100" Text="100" SpliteType="HeighLight" Group="身高" IsShowTrangle="false" ></echart:SplitItem> <echart:SplitItem Color="Green" Value="90" Text="90" SpliteType="HeighLight" Group="体重" IsShowTrangle="false" /> <echart:SplitItem Color="DarkGray" Value="50" Text="50 " SpliteType="HeighLight" IsShowTrangle="false"></echart:SplitItem> <echart:SplitItem Color="DarkGray" Value="0" Text="0 "></echart:SplitItem> </echart:StaticCurveChartPlotter.SplitItemYs> <!--<echart:StaticCurveChartPlotter.DataSource> <echart:CurveEntitySource > <echart:CurveEntitySource.Source> <echart:PointC X="0" Y="110" Text="2018-01-01"/> <echart:PointC X="1" Y="93" Text="2018-02-01"/> <echart:PointC X="2" Y="92" Text="2018-03-01"/> <echart:PointC X="3" Y="115" Text="2018-04-01"/> <echart:PointC X="4" Y="102" Text="2018-05-01"/> <echart:PointC X="4.1" Y="122" Text="2018-05-01"/> <echart:PointC X="4.2" Y="153" Text="2018-05-03"/> <echart:PointC X="4.3" Y="132" Text="2018-05-04"/> <echart:PointC X="4.4" Y="114" Text="2018-05-06"/> <echart:PointC X="4.5" Y="125" Text="2018-05-07"/> <echart:PointC X="4.6" Y="121" Text="2018-05-08"/> <echart:PointC X="5" Y="125" Text="2018-06-01"/> <echart:PointC X="6" Y="95" Text="2018-07-01"/> <echart:PointC X="7" Y="88" Text="2018-08-01"/> <echart:PointC X="7.3" Y="68" Text="2018-08-11"/> <echart:PointC X="8" Y="77" Text="2018-09-01"/> <echart:PointC X="9" Y="65" Text="2018-10-01"/> <echart:PointC X="10" Y="91" Text="2018-11-01"/> <echart:PointC X="11" Y="90" Text="2018-12-01"/> </echart:CurveEntitySource.Source> <echart:CurveEntitySource.Text>收缩压</echart:CurveEntitySource.Text> <echart:CurveEntitySource.Color> <SolidColorBrush Color="#1791E6"/> </echart:CurveEntitySource.Color> <echart:CurveEntitySource.Marker> <echart:T5PointMarker Fill="#1791E6"/> </echart:CurveEntitySource.Marker> </echart:CurveEntitySource> <echart:CurveEntitySource > <echart:CurveEntitySource.Source> <echart:PointC X="0" Y="112" Text="2018-01-01"/> <echart:PointC X="1" Y="112" Text="2018-02-01"/> <echart:PointC X="2" Y="112" Text="2018-03-01"/> <echart:PointC X="3" Y="155" Text="2018-04-01"/> <echart:PointC X="4" Y="112" Text="2018-05-01"/> <echart:PointC X="4.1" Y="112" Text="2018-05-01"/> <echart:PointC X="4.2" Y="112" Text="2018-05-03"/> <echart:PointC X="4.3" Y="112" Text="2018-05-04"/> <echart:PointC X="4.4" Y="114" Text="2018-05-06"/> <echart:PointC X="4.5" Y="112" Text="2018-05-07"/> <echart:PointC X="4.6" Y="112" Text="2018-05-08"/> <echart:PointC X="5" Y="112" Text="2018-06-01"/> <echart:PointC X="6" Y="112" Text="2018-07-01"/> <echart:PointC X="7" Y="98" Text="2018-08-01"/> <echart:PointC X="7.3" Y="112" Text="2018-08-11"/> <echart:PointC X="8" Y="112" Text="2018-09-01"/> <echart:PointC X="9" Y="112" Text="2018-10-01"/> <echart:PointC X="10" Y="112" Text="2018-11-01"/> <echart:PointC X="11" Y="110" Text="2018-12-01"/> </echart:CurveEntitySource.Source> <echart:CurveEntitySource.Text>舒张压</echart:CurveEntitySource.Text> <echart:CurveEntitySource.Color> <SolidColorBrush Color="Red"/> </echart:CurveEntitySource.Color> <echart:CurveEntitySource.Marker> <echart:T5PointMarker Fill="Red"/> </echart:CurveEntitySource.Marker> </echart:CurveEntitySource> <echart:CurveEntitySource > <echart:CurveEntitySource.Source> <echart:PointC X="0" Y="132" Text="2018-01-01"/> <echart:PointC X="1" Y="111" Text="2018-02-01"/> <echart:PointC X="2" Y="122" Text="2018-03-01"/> <echart:PointC X="3" Y="155" Text="2018-04-01"/> <echart:PointC X="4" Y="112" Text="2018-05-01"/> <echart:PointC X="4.1" Y="112" Text="2018-05-01"/> <echart:PointC X="4.2" Y="152" Text="2018-05-03"/> <echart:PointC X="4.3" Y="112" Text="2018-05-04"/> <echart:PointC X="4.4" Y="154" Text="2018-05-06"/> <echart:PointC X="4.5" Y="112" Text="2018-05-07"/> <echart:PointC X="4.6" Y="142" Text="2018-05-08"/> <echart:PointC X="5" Y="112" Text="2018-06-01"/> <echart:PointC X="6" Y="132" Text="2018-07-01"/> <echart:PointC X="7" Y="98" Text="2018-08-01"/> <echart:PointC X="7.3" Y="112" Text="2018-08-11"/> <echart:PointC X="8" Y="112" Text="2018-09-01"/> <echart:PointC X="9" Y="122" Text="2018-10-01"/> <echart:PointC X="10" Y="112" Text="2018-11-01"/> <echart:PointC X="11" Y="110" Text="2018-12-01"/> </echart:CurveEntitySource.Source> <echart:CurveEntitySource.Text>脉搏</echart:CurveEntitySource.Text> <echart:CurveEntitySource.Color> <SolidColorBrush Color="Green"/> </echart:CurveEntitySource.Color> <echart:CurveEntitySource.Marker> <echart:TrianglePointMarker Fill="Green"/> </echart:CurveEntitySource.Marker> </echart:CurveEntitySource> </echart:StaticCurveChartPlotter.DataSource>--> </echart:StaticCurveChartPlotter> </Viewbox> </Grid> </TabItem> <TabItem Header="平面网格(待定)"/> <TabItem Header="等值线(待定)"/> </TabControl> </Grid></Window>
下载wpf折线图用户还喜欢
- 18480 文章数
- 500万+ 热度
作者专栏
编辑推荐
- 淡抹u2引擎,修复内容较多,物有所值
- 界域传说·经典巨作=传世单机(一键安装)
- 丸子版本(175个传世版本大集合)
- GS版本:神话公益服务端+客户端
- 图片放大工具(放大图片不模糊)
- 剪映无限制VIP版
- 传奇世界客户端下载器,史上最全传世客户端
- 传世GS20220920商业引擎注册+登录配置器 解压密码是1
- U2官方排行榜游戏网关 支持元神,支持传家宝
- GS开战传世客户端+服务端
- (淡漠夕阳)u2引擎合区工具
- 传世GS引擎消除“你的游戏客户端版本号过旧,请及时更新”提示
- 传世一机多区双线路配置器--免密码版本
- 传世凤凰登陆器劫持修复软件
- SQLite3 for Navicat
- 传奇世界npc对话框编辑工具
- 传世GS落霞铭文服务器端
- gs_20210409引擎包+注册机(无限制)
- 传奇世界NPC对话封包查看器[支持时长版和极速版]
- 彩虹引擎传世脚本编辑工具1.7版来了,支持函数脚本翻译
评论